//
//  AlignmentViewController.m
//  iOS UI Sample Code
//
//  Created by Kyusung Lee on 12. 2. 29..
//  Copyright (c) 2012년 kkamci77@gmail.com. All rights reserved.
//

#import "AlignmentViewController.h"

@interface AlignmentViewController ()

@end

@implementation AlignmentViewController

@synthesize lblAlignment;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

-(IBAction)selectButton:(id)sender
{
    UIAlertView * alertView = [[UIAlertView alloc] initWithTitle:@"TEST Alert" message:@"Test Alert View" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil];
    [alertView show];
}


@end
